﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crossroad.Core.Models
{
    /// <summary>
    /// 身份信息Dom
    /// </summary>
    [Serializable]
    public class AuthorizeDom
    {
        /// <summary>
        /// 【必填】用户id
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 【选填】密钥
        /// </summary>
        public string Key { set; get; }

        /// <summary>
        /// 【必填】超时时间
        /// </summary>
        public int Timeout { set; get; }
    }
}
